Information processing apparatus, and non-transitory computer-readable recording medium therefor to be compliant to a particular protocol

ABSTRACT

A non-transitory computer-readable recording medium stores instructions realizing a program set including first and second programs. The second program causes, when executed, an information processing apparatus to obtain identifying information regarding an image processing device and store device information containing the identifying information in a memory in association with program information regarding the second program. The first program causes, when executed, the information processing apparatus to transmit device information to the operating system and retrieve, from the memory, the program information associated with the device information designated as a transmission destination by a first execution instruction staring the second program based the program information, the first execution instruction being output by the operating system using a first protocol. The second program further causes the information processing apparatus to transmit a second execution instruction corresponding to the first execution instruction to the image processing device using a second protocol.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority under 35 U.S.C. § 119 from JapanesePatent Application No. 2019-054377 filed on Mar. 22, 2019. The entiresubject matter of the application is incorporated herein by reference.

BACKGROUND Technical Field

The present disclosures relate to a non-transitory computer-readablerecording medium storing instructions which realize a program set to beimplemented in an information processing apparatus configured to controlan image processing device.

Related Art

Conventionally, there has been known a technique of instructing adevice, which is not compliant to a particular protocol, using theparticular protocol, For example, there is a system including acompliant device which is compliant to the particular protocol and anon-compliant device which is not compliant to the particular protocol.According to the conventional system, the compliant device receives aninstruction directed to the non-compliant device and output by aterminal device. Then, the compliant device transfers the receivedinstruction to the non-compliant device.

SUMMARY

In recent years, in a system having an information processing apparatus(e.g., a PC) and an image processing device (e.g., a printer), atechnique of causing the image processing device to perform printingwithout installing, in the information processing apparatus, a devicedriver for the image processing device has been known. An example ofsuch a technique is known as a driverless printing technique accordingto which printing is performed with use of a printing functionimplemented in an operating system.

However, printers (e.g., low end printers) which are not compliant tothe driverless printing technique (hereinafter, referred to asnon-compliant printers) are widely used. According to theabove-described conventional technique, an instruction (e.g., oneaccording to the driverless printing technique) is firstly transmittedto the compliant device, and then, it is transferred from the compliantdevice to the non-compliant device. However, a new technique enablingthe non-compliant devices to perform image processing has been desired.

According to aspects of the present disclosures, there is provided anon-transitory computer-readable recording medium for an informationprocessing apparatus, the recording medium storing computer-executableinstructions executable by a controller of the information processingapparatus, the instructions realizing a program set including a firstprogram and a second program, the first program being compliant to afirst protocol, the second program being compliant to a second protocol.The second program causes, when executed by the controller, theinformation processing apparatus to perform an obtaining process ofobtaining identifying information regarding an image processing device,and a storing process of storing device information containing theidentifying information obtained in the obtaining process in a memory ofthe information processing apparatus such that the device information isassociated with program information regarding the second program. Thefirst program causes, when executed by the controller, the informationprocessing apparatus to perform a search request responding process ofresponding to a search request of an operating system of the informationprocessing apparatus by retrieving the device information from thememory and transmitting the retrieved device information to theoperating system, and an execution instruction conforming process ofretrieving, from the memory, the program information associated with thedevice information corresponding to the image processing devicedesignated as a transmission destination by a first executioninstruction staring the second program based the program information,the first execution instruction being output by the operating systemusing the first protocol. The second program further causes theinformation processing apparatus to perform a transmitting process oftransmitting a second execution instruction corresponding to the firstexecution instruction to the image processing device using the secondprotocol.

According to aspects of the present disclosures, a non-transitorycomputer-readable recording medium for an information processingapparatus, the recording medium storing computer-executable instructionsrealizing a first program which is implementable in an operating systemof the information processing apparatus, the first program correspondingto a first protocol, the information processing apparatus having amemory storing device information containing identifying informationregarding an image processing device in a manner associated with programinformation regarding a second program, the second program correspondingto a second protocol. The instructions cause, when executed by acontroller of the information processing apparatus, the informationprocessing apparatus to perform a response request responding process ofretrieving, from the memory, the device information in response to thesearch request output by the operating system, and an executioninstruction conforming process of retrieving, based on a first executioninstruction received from the operating system using the first protocol,the program information associated with the device informationcorresponding to the image processing device designated, by the firstexecution instruction, as a transmission destination from the memory andstarting the second program based on the retrieved program information,the second program causing, when started, the information processingapparatus to transmit a second execution instruction corresponding tothe first execution instruction to the image processing device using thesecond protocol.

According to aspects of the present disclosures, there is provided ininformation processing apparatus which is provided with a memory, acontroller and a non-transitory program storage storingcomputer-executable instructions realizing a program set including afirst program corresponding to a first protocol and a second programcorresponding to a second protocol. The second program causes, whenexecuted by the controller, the information processing apparatus toperform an obtaining process of obtaining identifying informationregarding an image processing device, and a storing process of storingdevice information containing the identifying information obtained inthe obtaining process in a memory of the information processingapparatus such that the device information is associated with programinformation regarding the second program. The first program causes, whenexecuted by the controller, the information processing apparatus toperform a search request responding process of responding to a searchrequest of an operating system of the information processing apparatusby retrieving the device information from the memory and transmittingthe retrieved device information to the operating system, and anexecution instruction conforming process of retrieving, from the memory,the program information associated with the device informationcorresponding to the image processing device designated as atransmission destination by a first execution instruction staring thesecond program based the program information, the first executioninstruction being output by the operating system using the firstprotocol. The second program further causes the information processingapparatus to perform a transmitting process of transmitting a secondexecution instruction corresponding to the first execution instructionto the image processing device using the second protocol.

BRIEF DESCRIPTION OF THE ACCOMPANYING DRAWINGS

FIG. 1 is a block diagram showing an electrical configuration of a printsystem according to an embodiment of the present disclosures.

FIG. 2 illustrates data flow in a PC of the print system.

FIG. 3 is a sequence diagram illustrating a procedure to add a printerto the print system.

FIG. 4 schematically shows an example of printer information.

FIG. 5 is a sequence diagram illustrating a procedure of printing.

DETAILED DESCRIPTION OF THE EMBODIMENT

Hereinafter, referring to the accompanying drawings, an embodimentrealizing a program set will be described in detail. In the presentspecification, a personal computer (hereinafter, referred to as a PC) 1provided with the program set and configured to control an imageprocessing device will be described.

The PC 1 is an apparatus which is capable of executing various programsand is connected with external apparatuses, for example, a printer 2 anda printer 3 as shown in FIG. 1. It is noted that PC 1 is an example ofan information processing apparatus. Each of the printer 2 and theprinter 3 is an apparatus having an image processing function and anexample of an image processing device. It is noted that anotherapparatus such as a smartphone of a tablet computer may be used insteadof the PC 1. Each of the printer 2 and the printer 3 may be a singlefunction apparatus having only a printing function, or a multiplefunction apparatus having multiple functions such as an MFP, a copier ora facsimile machine.

The PC 1 has, as shown in FIG. 1, a controller 10 including a CPU 11, aROM 12, a RAM 13 and a non-volatile memory 14. The PC 1 is furtherprovided with a user interface (hereinafter, referred to as a user I/F)15, a Bluetooth® interface (hereinafter, referred to as a BT I/F) 16 anda USB interface or a network interface (hereinafter, referred to as aUSB/network I/F) 17, which are electrically connected with thecontroller 10. It is noted that the name “controller” 10 in FIG. 1 is acollective name including hardware and software used to control the PC 1and may not necessarily mean a single piece of hardware existing in thePC 1.

The CPU 11 performs various processes in accordance with programsretrieved from the ROM 12 or the non-volatile memory 14, or inaccordance with user instructions. It is noted that the CPU 11 is anexample of a computer. The ROM 12 stores a startup program used to startup the PC 1. The RAM 13 is used as a work area when various processesare performed, or a storage area for temporarily storing data. Thenon-volatile memory 14 is an SSD, an HHD or a flash memory, and is usedas an area storing various programs and/or various settings. It is notedthat each of the ROM 12, the RAM 13 and the non-volatile memory 14 is anexample of a memory. When the CPU 11 is provided with a buffer area, thebuffer area is also an example of the memory.

In the non-volatile memory 14, an operating system (hereinafter,referred to as an OS) 40, various applications (hereinafter, referred toas APP) including an application program for printing (hereinafter,referred to as a printing APP) 43, and printer information 44 arestored. The OS 40 includes a general-use printing program 41 and arelaying program 42. The OS 40 is, for example, Microsoft Windows®,MacOS®, or Linus®. Each of the general-use printing program 41 and therelaying program 42 is implemented in the OS 40 and operates as a partof the OS 40. In contrast, the printing APP 43 is not included in the OS40. The relaying program 42 is an example of a first program, theprinting APP 43 is an example of a second program, and a set 100 of therelaying program 42 and the printing program 43 is an example of aprogram set. Operations of respective programs will be described later.

The user I/F 15 includes hardware configured to receive user input anddisplay information. The user I/F 15 may be, for example, a touch panel,or a combination of a keyboard and/or mouse and a display.

The BT I/F 16 includes hardware for communicating with externalequipment such as the printer 2 according to Bluetooth which is one ofshort-range wireless communication standards. The PC 1 is configured tocommunicate with the printer 2 using a protocol for a printer throughthe BT I/F 16 (hereinafter, such a protocol using the BT I/F 16 will bereferred to as a BT protocol).

The USB/network I/F 17 includes hardware for communicating with externalequipment such as the printer 3 in accordance with the USB standard orone of various kinds of network standards. The PC 1 performs acommunication with the printer 3 using an IPP (Internet PrintingProtocol) in accordance with TCP/IP through the USB/network I/F 17. Asabove, the PC 1 according to the embodiment has a plurality of types ofcommunication interfaces having different communication methods, and isconfigured to be compliant to the plurality of communication protocolsthrough the plurality of interfaces, respectively. It is noted that theIPP is an example of a first protocol and the BT protocol is an exampleof a second protocol.

The printer 2 according to the present embodiment has a Bluetoothinterface and configured to perform a communication using the BTprotocol. The printer 2 according to the present embodiment is notcompliant to the IPP. Therefore, when the PC 1 transmits data to theprinter 2 using the IPP, the printer 2 cannot receive the datacorrectly. In contrast, the printer 3 according to the presentembodiment has a USB interface or a network interface and is configuredto perform a communication using the IPP. Accordingly, when the PC 1transmits data to the printer 3 using the IPP, the printer 3 is capableof correctly receiving the data transmitted from the PC 1.

The general-use printing program 41 included in the OS 40 of the PC 1according to the present embodiment is a general-use program whichoperates various processes regarding printing, and is a programcompliant to a plurality of models of printers respectively provided bya plurality of venders. Examples of the general-use printing program 41are AirPrint® and Mopria®. The general-use printing program 41 receivesvarious instructions regarding printing and transmits a print commandcontaining the print data to the designated device so that thedesignated device is caused to perform printing. By using thegeneral-use printing program 41, the user can make any of various modelsof printer perform printing by the same procedure. It is noted that thegeneral-use printing program 41 is configured to output the printcommand using the IPP. Therefore, when the general-use printing program41 needs to transmit the print command to the printer 2 based on thereceived user instruction, the general-use printing program 41 outputsthe print command using the IPP.

Configurations of the respective programs are shown in FIG. 2. The OS 40includes the general-use printing program 41 and a relaying program 42.As indicated by solid lines in FIG. 2, the general-use printing program41 causes the PC 1 to output a search request to search for a device toperform printing, and an inquiry signal, to the device which responds tothe search request, a signal inquiring capability of the device. Theinquiry signal is output using the IPP.

The set 100 of the relaying program 42 and the print APP 43 constitute aprogram which responds in place of the printer 2 when the general-useprinting program 41 outputs the signal using the IPP, and transmitsinformation based on such a signal to the printer 2 using the BTprotocol. That is, the PC 1 according to the present embodiment relays acommunication between the general-use printing program 41 and theprinter 2 with use of the set 100 of the relating program 42 and theprinting APP 43.

In response to the inquiry signal output by the general-use printingprogram 41, the relaying program 42 transmits the information on theprinter 2 to the general-use printing program 41 based on theinformation the relaying program 42 has retrieved from the printerinformation 44. In the printer information 44, the information on theprinter 2 retrieved from the printer 2 is written in advance by theprinting APP 43. That is, retrieval and writing of the informationindicated by broken lines in FIG. 2 have been performed before theinquiry by the general-use printing program 41.

When the general-use printing program 41 receives the response to theinquiry signal regarding the information on the printer 2 from therelaying program 42, the general-use printing program 41 recognizes thatthe printer 2 is a printer compliant to the IPP and outputs a printcommand to the relaying program 42 as indicated by one-dotted lines inFIG. 2. That is, the relaying program 42 responds to the general-useprinting program 41 as if the printer 2 is compliant to the IPP, and thegeneral-use printing program 41 delivers the print command to therelaying program 42 with regarding the relaying program 42 as theprinter 2 which is compliant to the IPP. The print command istransmitted from the general-use printing program 41 to the relayingprogram 42 using the IPP.

When the print command to cause the printer 2 to perform printing isoutput by the general-use printing program 41 using the IPP, therelaying program 42 receives the same and causes the PC 1 to start theprinting APP 43. Further, the relaying program 42 delivers the receivedprint command to the printing APP 43. Then, the printing APP 43 convertsthe transmission protocol of the print command to the BT protocol, andtransmits the print command to the printer 2 through the BT I/F 16.Since the printer 2 is compliant to the BT protocol, the printer 2correctly receives the print command transmitted from the printing APP43 through the BT I/F 16.

It is noted that the search request output by the general-use printingprogram 41 is also transmitted to external equipment such as the printer3 through the USB/Network I/F 17 as shown in FIG. 2. Since the printer 3is compliant to the IPP, the printer 3 correctly receives and respondsto the inquiry signal and the print command, which are output by thegeneral-use printing program 41.

Next, referring to the sequence diagram shown in FIG. 3, procedures ofrespective programs (i.e., the general-use printing program 41, therelaying program 42 and the printing APP 43) will be described.According to the present disclosures, a procedure to cause the printer2, which is not compliant to the IPP, to perform printing based on theprint command which is output by the general-use printing program 41using the IPP will be described. In the following description, apreparation procedure to add the printer 2 to the general-use printingprogram 4, and a printing procedure to transmit the print command to theadded printer 2 will be described subsequently.

Firstly, referring to FIG. 3, the preparation procedure will bedescribed. FIG. 3 shows the sequence diagram indicating the preparationprocedure which is performed when an instruction to register and aninstruction to add the printer 2 are received. The preparation procedureis started in response to receipt of a printer registration instructionby the user in a state where the relaying program 42 and the printingAPP 43 have been installed and the printing APP 43 has been started (seeprocedure 1A: hereinafter, simply referred to as “proc. 1A”). It isnoted that the procedure 1A is an example of a registration process.

When the printing APP 43 receives the printer registration instructionfrom the user (proc. 1A), the printing APP 43 obtains (i.e., requestsfor and receives) printer identifying information and capabilityinformation from peripheral printers (proc. 1B). It is noted that, inFIG. 3, only one printer (i.e., the printer 2) is shown for the sake ofexplanation. The printer identifying information includes, for example,a printer name, a model name and an address (e.g., an IP address), andis used for identifying the printer. The capability information isinformation regarding the printer 2, and includes information indicatingthe print settings which the printer 2 can receive and handle, andinformation indicating an optional device attached to the printer 2. Theprinter identifying information is an example of identifyinginformation. Procedure 1B is an example of an obtaining process.

The user designates a printer to be registered based on the obtainedinformation (proc. 1C). When there are multiple printers subjected toselection, the user only needs to select a printer which is notcompliant to the IPP but performs printing in accordance with the printcommand output from the general-use printing program 41 as the printerto be registered. Since only the printer, for which the printing APP 43receives the registration instruction, is subjected to processing by therelaying program 42, a processing load to the relaying program 42 can bereduced by registering only necessary printer in comparison with a casewhere all of the multiple printers are registered.

The printing APP 43 stores the identifying information and thecapability information obtained in procedure 1B in the printerinformation 44 in the non-volatile memory 14 (proc. 1D). It is notedthat procedure 1D is an example of a storing process. The printerinformation 44 is information which can be referred to from the printingAPP 43 and from the relaying program 42. The relaying program 42 iscapable of retrieve the information stored in procedure 1D from theprinter information 44.

An example of the printer information 44 is shown in FIG. 4. The printerinformation 44 is a database including a plurality of pieces ofinformation on each of the printers, from which the registrationinstructions are received, as a record 45. The printer information 44includes, as shown in FIG. 4, a printer name 411, a model name 442,capability 443, icon 444, an APP name 445, an address name 446. Theprinter name 441 is identification information indicating the registeredprinter. The model name 442 is information regarding the model of theprinter. The capability 443 is information indicating print settingwhich the printer can acquire. The icon 444 is information showing animage indicating the printer as an icon on a printer selecting screen.The APP name 445 is information indicating an APP to be started when theprinter is selected. The address name 446 is information indicating alocation of the printer. The record 45 is an example of deviceinformation. The APP name 445 is an example of program information.

When the information regarding the printer 2 is stored in procedure 1D,the printing APP 43 makes information indicating the printing APP 43itself be included as an APP name 445. When the printing APP 43 iscompliant to a plurality of models of the printers, the printing APP 43can obtain information regarding protocols which can be used in theprinters based on, for example, the model name 442 of the printer. It isnoted that a plurality of printing APP's 43 may be used for respectivemodels of the printers. For example, when a plurality of models ofprinters which are not compliant to the IPP are connected with the PC 1,a plurality of types of printing APP's 43 may be provided to the PC 1.

After the printing APP 43 receives the registration instruction toregister the printer 2, the general-use printing program 41 receives anaddition instruction to add selectable printer information (proc. 1E).When receiving the addition instruction, the general-use printingprogram 41 outputs a search request to search for printers which areconnected with the PC 1 and compliant to the IPP (proc. 1F). The searchrequest is performed, for example, by a multicast using Bonjour®.

In response to the general-use printing program 41 outputting the searchrequest, the relaying program 42 retrieves the printer information 44(proc. 1G). When the printer information 44 is stored, the relayingprogram 42 delivers a responding signal carrying information such as amodel name to the general-use printing program 41 (proc. 1H). When theprinter information on a plurality of printers is registered with theprinter information 44, the relaying program 42 responds to all theregistered printers by transmitting the model names and the like,respectively. Then, the general-use printing program 41 transmits aninquiry signal inquiring printer capability and the like regarding theequipment which is indicated by the responding signal to the relayingprogram 42 (proc. 1I).

Upon receipt of the inquiry signal output by the general-use printingprogram 41, the relaying program 42 retrieves the information on theprinter 2 contained in the printer information 44 (proc. 1J). Then,based on the retrieved information, the relaying program 42 responds tothe inquiry signal output by the general-use printing program 41 bytransmitting the information regarding the printer 2 to the general-useprinting program 41 using the IPP (proc. 1K). It is noted that procedure1K is an example of a search request responding process. In theprocedure 1K, the relaying program 42 delivers information containingthe capability information of the printer 2, information of the relayingprogram 42 itself as a recipient of the print command and theinformation indicating that the printer 2 is compliant to the IPP to thegeneral-use printing program 41.

Thus, the general-use printing program 41 adds, to itself, theinformation regarding the printer 2 received from the relaying program42 as information of a device which can be caused to perform printing.In other words, the general-use printing program 41 memorizesinformation regarding a printer. Besides registration of a printerperformed by the printing APP 43, the general-use printing program 41also performs registration of a printer. An actual printer is notcomplaint to the IPP which is a protocol of the general-use printingprogram 41. However, in response to a search request by the general-useprinting program 41, the relaying program 42 returns informationregarding the printer. Accordingly, although the printer is notcomplaint to the IPP, the printer can be registered, by the general-useprinting program 41, as a printer complaint to the IPP.

The information of the device added to the general-use printing program41 is information based on the information regarding the printer 2retrieved from the printer information 44 and the printer 2 is displayedas one of selectable items on the printer selection screen displayed bythe general-use printing program 41. Accordingly, the user can selectthe printer 2 as a device which is caused to perform printing under thecontrol of the general-use printing program 41.

It is noted that the printing APP 43 is capable of receiving aninstruction to remove registration (hereinafter, referred to as aregistration removal instruction) to remove the registered printer. Whenreceiving the registration removal instruction to remove the registeredprinter (proc. 1L), the printing APP 43 removes the informationregarding the printer subjected to the registration removal instructionfrom the printer information 44 (proc. 1M). The procedure 1L is anexample of a registration removal process, and the process 1M is anexample of a removing process. It is noted that, when receiving theregistration removal instruction, the printing APP 43 may deliverinformation of the received registration removal instruction to therelaying program 42, and the relaying program 42 may remove thecorresponding information from the printer information 44. By enablingthe registration removal of the printer, it is possible to avoidunnecessary processes for devices which are not used any more.

Next, referring to FIG. 5, the printing procedure will be described.FIG. 5 is a sequence diagram indicating the printing procedure which isperformed after the preparation procedure is completed and the printinstruction by the user is received. In the printing procedure, firstly,the general-use printing program 41 receives a selection instructionindicating that the printer 2 is selected (proc. 2A). the general-useprinting program 41 displays, for example, a list of printers which arecandidate of a printer caused to perform printing, and receives the userselection of one of the listed printers. As mentioned above, since theinformation on the printer 2 has been added to the general-use printingprogram 41 by the relaying program 42, the user can select the printer 2from the list of the printers as displayed.

Further, the general-use printing program 41 receives selection, by theuser, of an image subjected to be printed, designation of print settingsand the print instruction instructing execution of printing (proc. 2B).The general-use printing program 41 generates a print command to betransmitted to the printer 2 based on the received print instruction,and transmits the generated print command to the printer 2 using the IPP(proc. 2C). It is noted that the print command output in proc 2C is anexample of a first execution instruction. The general-use printingprogram 41 outputs the print command to the relaying program 42 whichthe general-use printing program 41 recognizes as the printer 2.

The relaying program 42 retrieves the information on the printer 2,which is the selected printer, from the printer information 44 based onthe print command output by the general-use printing program 41 (proc.2D). Then, the relaying program 42 determines whether the printerinformation 44 contains the information regarding the printer 2 (proc.2E). As mentioned above, when the relaying program 42 had received theinstruction to remove the printer 2, the information on the printer 2has been removed from the printer information 44.

When the relaying program 42 determines that the information regardingthe printer 2 is contained in the printer information 44 (i.e., theprinter 2 is available), the relaying program 42 starts the printing APP43 based on the information on the APP name 445 which is contained, inassociation with the printer 2, in the printer information 44 (proc.2F). The procedure 2F is an example of an execution instructionconforming process. The relaying program 42 delivers informationindicating that the currently selected printer is the printer 2 to theprinting APP 43 when the printing APP 43 is started.

The printing APP 43 receives the information on the selected printerfrom the relaying program 42, performs a communication with the printer2 which is the selected printer to obtain (i.e., request for andreceive) information indicating a state of the printer 2 (proc. 2G).Further, the printing APP 43 delivers state information indicating thestate of the printer 2 to the relaying program 42 based on the obtainedinformation (proc. 2H). It is noted that, instead of communicating withthe printer 2 in response to startup by the relaying program 42, theprinting APP 43 may deliver the state information which was obtained, inadvance, from the printer 2 to the relaying program 42. Alternatively,the printing APP 43 may, for example, communicate with the printerperiodically to obtain the state information.

The relaying program 42 determines whether the state of the printer 2,which state is indicated by the state information received from theprinting APP 43, indicates a printing-executable state (proc. 2I). Whenit is determined that the printer 2 is in the printing-executable state,the relaying program 42 converts the print command output by thegeneral-use printing program 41 to a print command having a format whichcan be processed by the printing APP 43 (proc. 2J). The relating program42 converts the print data according to the IPP to print data having PDFformat data. When the print command contains print data, commands and/orparameters of which format cannot be processed by the printing APP 43,as the relaying program 42 converts the same to data of which format canbe processed by the printing APP 43, a possibility that the user desiredprinting operations are performed is increased.

The relaying program 42 delivers information on the print command, whichcontains the converted print data, to the printing APP 43 (proc. 2K). Itis noted that the information delivered to the printing APP 43 inprocedure 2K may contain information indicating the model of the printer2 and capability of the printer 2. It is noted that, when conversion ofthe print data is unnecessary, the relaying program 42 skips procedure2J and proceeds to procedure 2K.

The printing APP 43 generates a print command suitable to the printer 2based on the information contained in the received print command, andtransmits the generated print command to the printer 2 using the BTprotocol (proc. 2L). The procedure 2L is an example of a transmissionprocess, and the print command transmitted to the printer 2 in theprocedure 2L is an example of a second execution instruction. In theprocedure 2L, the printing APP 43 generates a print command suitable tothe printer 2 based on the identifying information and the capabilityinformation of the printer 2. The printing APP 43 rasterizes, forexample, PDF data to generate rasterized data and transmits the same tothe printer 2.

It is noted that conversion of the print data (proc. 2J) may beperformed by the printing APP 43 instead of the relaying program 42. Forexample, the relaying program 42 delivers the print data received fromthe general-use printing program 41 to the printing APP 43 as it is(i.e., without converting the same) and the printing APP 43 may performconversion and rasterization of the print data. Alternatively, therasterization may be performed by the relaying program, while therelaying program 42 may directly transmits the rasterized data to theprinter 2.

The printer 2 performs printing based on the print command received fromthe printing APP 43 (proc. 2M). Accordingly, even if the printer 2 isnot compliant to the IPP, the printer 2 can perform printing inaccordance with the print command which is output by the general-useprinting program 41.

On the other hand, when it is determined, in the procedure 2I, that theprinter 2 is not in the printing-executable state, the relaying program42 returns error information to the general-use printing program 41(proc. 2N) without delivering the print command to the printing APP 43.The general-use printing program 41, then, causes the user I/F 15 tonotify an error (proc. 2O) based on the received error information.According to the above configuration, since the state of the printer 2,which is the destination of the print command, is checked before theprint command is delivered to the printing APP 43 and the print commandis delivered to the printing APP 43 on condition that the printer 2 isin a state that printing can be performed, unnecessary processes may beavoided.

When it is determined, in procedure 2E, that the information on theselected printer 2 is not contained in the printer information 44, therelaying program 42 returns error information to the general-useprinting program 41 (proc. 2P). When, for example, the registrationremoval instruction to remove registration of the printer 2 wasreceived, the information on the printer 2 has been removed from theprinter information 44. Thus, by checking the registration state of theprinter 2, unnecessary process related to the unused device can beavoided. Further, the relaying program 42 deletes the print commandreceived in procedure 2C (proc. 2Q).

The general-use printing program 41 causes the user I/F 15 to displayinformation indicating an error (proc. 2R) based on the received errorinformation, and removes the information on the printer 2 (proc. 2S).Thereafter, the printer 2 will not be displayed as a candidate on theprinter selection screen displayed by the general-use printing program41. It is noted that the general-use printing program 41 may receivere-selection of a printer as a device which performs an outstandingprint instruction instead of the unavailable printer 2.

As described above, the relaying program 42 according to the embodimentreceives the search request from the OS 40 and responds thereto bytransmitting the device information of the printer 2. Then, the relayingprogram 42 is identified as the printer 2 by the OS 40. Thereafter, whenthe relaying program 42 receives the print command from the OS 40 usingthe IPP, the relaying program starts up the printing APP 43, and theprinting APP 43 transmits the print command to the printer 2 using theBT protocol. Thus, even if the printer 2 is not compliant to the IPP,the printer 2 can perform printing in accordance with the print commandoutput by the OS 40 using the IPP.

It is noted that the above-described embodiment is only an example ofthe present disclosures and is not intended to limit the presentdisclosures. That is, the present disclosures may be modified and/orimproved without departing from aspects of the present disclosures. Forexample, the execution instruction output by the OS 40 need not belimited to the print instruction. The execution instruction may be, forexample, a reading instruction. In such a case, instead of the printer2, a device having an image reading function (e.g., a scanner, an MFP, acopier, a facsimile machine or the like) may be connected with the PC 1.

In the above-described embodiment, the relaying program 42 is explainedto be implemented in the OS 40. However, it is only an example and aprogram other than the OS 40 may be provided as a program in which therelaying program 42 may be implemented. In such a case, the relayingprogram 42 and the printing APP 43 may be different programs, or may beconfigures as a signal program.

The printer 2 may communicate with the PC 1 using any protocol otherthan the protocol the general-use printing program 41 uses. That is, theprotocol used in a communication between the PC 1 and the printer 2 neednot be limited to the BT protocol. The protocol used in thecommunication between the PC 1 and the printer 2 may be a USBcommunication using a protocol other than the IPP.

According to the above-described embodiment, when the printing APP 43 isstarted based on the print command, the printing APP 43 obtains thestate information of the printer 2 and delivers the obtained informationto the relaying program 43. Such a configuration can be modified. Forexample, the printing APP 43 may be configured to transmit the printcommand regardless of the state of the printer 2. Further, the printingAPP 43 may be configured to obtain the state information immediatelybefore transmitting the print command.

According to the embodiment, the printer 2 is configured not to respondto the search request output by the general-use program 41. However, itis modified to respond to the search request. Even if configured torespond to the search request, the printer 2 is unable to correctlyrespond to the signal inquiring the capability of the printer 2, theprinter 2 will not be directly added to the general-use printing program41.

It is noted that information contained in the printer information 44need not be limited to one as illustrated in FIG. 4. For example, theicon 444 may not be contained in the printer information 44. Further,information regarding a printer node name and/or a printer connectionport, usable protocol information, and the like may additionally becontained in the printer information 44.

The printing APP 43 may be configured to receive settings of printparameters intrinsic to the printer 2. Further, the printing APP 43 maybe configured to receive the print settings for the printer 2 throughthe user I/F 15 and store the same in the non-volatile memory 14.Furthermore, the printing APP 43 may be configured to receive additionalprint settings or change of the print settings through the user I/F 15when the print command is received. In such a configuration, theprinting APP 43 may incorporate the received/modified settings into theprint command and send the same to the printer 2.

In any of the flowcharts disclosed in the specification/drawings,multiple processes respectively performed in multiple steps can beperformed in different orders as far as the change does not causeconflicts in the entire process. Further, arbitrary multiple processesrespectively performed in multiple steps can be performed in a differentorder or in parallel as far as such a change of order does not causeconflicts in the entire process.

It is noted that each of the processes disclosed in the embodiment maybe performed by a single CPU, a plurality of CPU's, hardware such as anASIC or a combination thereof. Further, the processes disclosed in theembodiment may be realized by a non-transitory recording mediumcontaining programs (i.e., the instructions), by methods or other means.

What is claimed is:
 1. A non-transitory computer-readable recordingmedium for an information processing apparatus, the recording mediumstoring computer-executable instructions executable by a controller ofthe information processing apparatus, the instructions realizing aprogram set including a first program and a second program, the firstprogram being compliant to a first protocol, the second program beingcompliant to a second protocol, the second program causing, whenexecuted by the controller, the information processing apparatus toperform: an obtaining process of obtaining identifying informationregarding an image processing device; and a storing process of storingdevice information containing the identifying information obtained inthe obtaining process in a memory of the information processingapparatus such that the device information is associated with programinformation regarding the second program, the first program causing,when executed by the controller, the information processing apparatus toperform: a search request responding process of responding to a searchrequest of an operating system of the information processing apparatusby retrieving the device information from the memory and transmittingthe retrieved device information to the operating system; and anexecution instruction conforming process of retrieving, from the memory,the program information associated with the device informationcorresponding to the image processing device designated as atransmission destination by a first execution instruction and startingthe second program based the program information, the first executioninstruction being output by the operating system using the firstprotocol, the second program further causing the information processingapparatus to perform a transmitting process of transmitting a secondexecution instruction corresponding to the first execution instructionto the image processing device using the second protocol.
 2. Thenon-transitory computer-readable recording medium according to claim 1,wherein the second program is compliant to a plurality of models of theimage processing device, and wherein the device information includesinformation indicating a model of the image processing device.
 3. Thenon-transitory computer-readable recording medium according to claim 1,wherein the second program further causes the information processingapparatus to perform: a registration process of accepting designation ofthe image processing device to be registered; and in the storingprocess, storing the device information of the image processing deviceof which designation is accepted in the registration process in thememory such that the device information is associated with the programinformation regarding the second program.
 4. The non-transitorycomputer-readable recording medium according to claim 3, wherein thesecond program further causes the information processing apparatus toperform: a registration removal process of accepting removal ofregistration of an image processing device; and a removing process ofremoving, from the memory, the device information of the imageprocessing device subjected to the removal of registration accepted inthe registration removal process together with the program informationassociated with the device information subjected to the removal ofregistration.
 5. The non-transitory computer-readable recording mediumaccording to claim 1, wherein the first program further causes, in theexecution instruction conforming process, the information processingapparatus to perform: when the device information corresponding to theimage processing device designated as the transmission destination bythe first execution instruction is not stored in the memory,transmitting an error state to the operating system without starting thesecond program.
 6. The non-transitory computer-readable recording mediumaccording to claim 1, wherein the first program further causes, in theexecution instruction conforming process, the information processingapparatus to perform: obtaining state information indicating a state ofthe image processing device designated as the transmission destinationfrom the second program after starting the second program; and when theobtained state information indicates that the image processing device isnot in a state to perform image processing, transmitting an error stateto the operating system.
 7. The non-transitory computer-readablerecording medium according to claim 1, wherein the image processingdevice is a printer, wherein the first execution instruction containsprint data, wherein the first program further causes, in the executioninstruction conforming process, the information processing apparatus toconvert the print data to converted print data corresponding to thesecond protocol, and wherein the second program further causes, in thetransmitting process, the information processing apparatus to transmitthe second execution instruction containing the converted print data tothe image processing device using the second protocol.
 8. Thenon-transitory computer-readable recording medium according to claim 1,wherein the image processing device is a printer, wherein the firstexecution instruction contains print data, wherein the second programcauses, in the transmitting process, the information processingapparatus to: convert the print data to converted print datacorresponding to the second protocol; and transmit the second executioninstruction containing the converted print data to the image processingdevice.
 9. The non-transitory computer-readable recording mediumaccording to claim 1, wherein the first program is implemented in theoperating system.
 10. A non-transitory computer-readable recordingmedium for an information processing apparatus, the recording mediumstoring computer-executable instructions realizing a first program whichis implementable in an operating system of the information processingapparatus, the first program corresponding to a first protocol, theinformation processing apparatus having a memory storing deviceinformation containing identifying information regarding an imageprocessing device in a manner associated with program informationregarding a second program, the second program corresponding to a secondprotocol, wherein the instructions cause, when executed by a controllerof the information processing apparatus, the information processingapparatus to perform: a response request responding process ofretrieving, from the memory, the device information in response to thesearch request output by the operating system; and an executioninstruction conforming process of: retrieving, based on a firstexecution instruction received from the operating system using the firstprotocol, the program information associated with the device informationcorresponding to the image processing device designated, by the firstexecution instruction, as a transmission destination from the memory;and starting the second program based on the retrieved programinformation, the second program causing, when started, the informationprocessing apparatus to transmit a second execution instructioncorresponding to the first execution instruction to the image processingdevice using the second protocol.
 11. An information processingapparatus, comprising: a memory; a controller; and a non-transitoryprogram storage storing computer-executable instructions realizing aprogram set including a first program corresponding to a first protocoland a second program corresponding to a second protocol, the secondprogram causing, when executed by the controller, the informationprocessing apparatus to perform: an obtaining process of obtainingidentifying information regarding an image processing device; and astoring process of storing device information containing the identifyinginformation obtained in the obtaining process in a memory of theinformation processing apparatus such that the device information isassociated with program information regarding the second program, thefirst program causing, when executed by the controller, the informationprocessing apparatus to perform: a search request responding process ofresponding to a search request of an operating system of the informationprocessing apparatus by retrieving the device information from thememory and transmitting the retrieved device information to theoperating system; and an execution instruction conforming process ofretrieving, from the memory, the program information associated with thedevice information corresponding to the image processing devicedesignated as a transmission destination by a first executioninstruction and starting the second program based the programinformation, the first execution instruction being output by theoperating system using the first protocol, the second program furthercausing the information processing apparatus to perform a transmittingprocess of transmitting a second execution instruction corresponding tothe first execution instruction to the image processing device using thesecond protocol.